﻿using System;

namespace CounterServerModel
{
    /// <summary>
    /// A class that represents a single usage for an Account.
    /// </summary>
    public class SingleUsage
    {
        /// <summary>
        /// The date on which the Account will have the given usage.
        /// </summary>
        public DateTime UsageDate { get; protected set; }

        /// <summary>
        /// The total usage for the given date.
        /// </summary>
        public double TotalUsage { get; protected set; }

        public SingleUsage(DateTime i_UsageDate, double i_TotalUsage)
        {
            UsageDate = i_UsageDate;
            TotalUsage = i_TotalUsage;
        }
    }
}
